<template>
  <div>
    <a-form style="margin: 40px auto 0;">
      <result :title="title" :is-success="httpStatus" :description="httpMsg" :content="content">
        <div slot="action">
          <a-button type="primary" @click="finish">继续创建活动</a-button>
          <a-button style="margin-left: 8px" @click="toOrderList">查看活动信息</a-button>
        </div>
      </result>
    </a-form>
  </div>
</template>

<script>
  import CommonUserExtParams from '@views/community/modules/step/CommonUserExtParams'
  import Result from '@views/result/Result'

  export default {
    name: "UserExtStep3",
    inject:['closeCurrent'],
    components: {
      Result
    },
    data () {
      return {
        loading: false,
        title:'-',
        httpStatus:true,
        httpMsg:'',
        content:false
      }
    },
    created() {
      console.log('UserExtStep3 created');
    },
    methods: {
      finish () {
        this.$emit('finish')
      },
      toOrderList () {
        this.$router.push({path: '/store/activity/list'})
        this.closeCurrent()
      }
    }
  }
</script>
<style lang="less" scoped>
  .information {
    line-height: 22px;

    .ant-row:not(:last-child) {
      margin-bottom: 24px;
    }
  }
  .money {
    font-family: "Helvetica Neue",sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 14px;
  }
</style>